﻿namespace HomeRun.DB.Model
{
    public class SNDeveloper : NamedObject
    {
        private double m_allocate = 0.0;
        public double Allocate
        {
            get 
            {
                return m_allocate; 
            }

            set
            {
                if(value > 1.0)
                {
                    m_allocate = 1.0;
                }
                else if(value < 0.0)
                {
                    m_allocate = 0.0;
                }
                else
                {
                    m_allocate = value;
                }
            }
        }
    }
}
